using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HeresyManager.Talents
{
    [Serializable]
    public class IronDiscipline : Talent
    {
        public override string Name
        {
            get { return "Iron Discipline"; }
        }
        public override bool IsPreconditionSattisfied(HeresyManager.Character c)
        {
            return base.IsPreconditionSattisfied(c) && c.Wp >= 30 && c.Skills.Any(t => t.Item1 is Skills.Command && t.Item1.Level == Skill.SkillLevel.Skilled);
        }
    }
}
